package rsj.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author : shibixiao
 * @description : 定时任务
 * @date : 2021-06-02 10:25
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Job {

    /**
     * 任务名称
     */
    @JSONField(name = "Job_Name")
    private String jobName;
    /**
     * 任务状态
     */
    @JSONField(name = "Job_Status")
    private Boolean jobStatus;
    /**
     * 节点运行情况
     */
    @JSONField(name = "nodes")
    private List<Node> nodes;
    /**
     * 任务运行时间
     */
    @JSONField(name = "Job_Runtime")
    private String jobRuntime;
}
